package com.common.util;

import java.util.Random;

public class IPUtil {

    public static String getIp() {
        StringBuilder sb = new StringBuilder();
        Random random = new Random();
        sb.append("10");
        int ip1 = random.nextInt(255);
        sb.append("." + ip1);
        int ip2 = random.nextInt(255);
        sb.append("." + ip2);
        int ip3 = random.nextInt(255);
        sb.append("." + ip3);
        return sb.toString();
    }

}
